const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
    // 关闭eslint
    lintOnSave: false,

    transpileDependencies: true,

    devServer: {
        host: "localhost",

        port: "8000",

        https: false,
        // 代理跨域
        proxy: {
            "/api": {
                target: 'http://gmall-h5-api.atguigu.cn',
                // pathRewrite: { '^/api': '' },
            }
        },

    }
})